/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package HomeWork.demo02;

/**
 *
 * @2010405121 朱荻
 */
public class Array {

    String[] test = {"第零个数值", "第一个数值", "", "第三个数值","第四个数值"};

    public int Array() {
        int i;
        int d = 0;
        for (i = 0; i < 4; i++) {
            if (test[i] == "") {
                d = i;
            }
        }
        return d;
    }

   
}